﻿<!--
 Peter
 Created by: Peter Development Team
    http://peter.codeplex.com/
 
 GNU General Public License version 2 (GPLv2)
    http://peter.codeplex.com/license
 
  This code is provided on an AS IS basis, with no WARRANTIES,
  CONDITIONS or GUARANTEES of any kind.
-->
<UserControl x:Class="Peter.NodeJs.ViewNodeJsOptions"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:nodeJs="clr-namespace:Peter.NodeJs"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300"
             IsEnabled="{Binding Path=IsEnabled}"
             d:DataContext="{d:DesignInstance nodeJs:OptionsNodeJs}">
   <Grid>
      <Grid.RowDefinitions>
         <RowDefinition Height="Auto"/>
      </Grid.RowDefinitions>
      
      <GroupBox Header="npm Configuration">
         <Grid Margin="10">
            <Grid.RowDefinitions>
               <RowDefinition Height="Auto" />
               <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
               <ColumnDefinition Width="Auto" />
               <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Column="0"
                       Grid.Row="0"
                       Text="Proxy"
                       Margin="0,0,5,0"
                       VerticalAlignment="Center"/>
            <TextBox Grid.Column="1"
                     Grid.Row="0"
                     Text="{Binding Path=Proxy}"
                     Margin="0,0,0,10"/>
            <TextBlock Grid.Column="0"
                       Grid.Row="1"
                       Text="Https Proxy"
                       Margin="0,0,5,0"
                       VerticalAlignment="Center" />
            <TextBox Grid.Column="1"
                     Grid.Row="1"
                     Text="{Binding Path=HttpsProxy}" />
         </Grid>
      </GroupBox>
   </Grid>
</UserControl>
